package com.zbzbzzz.pojo;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @Author ：zbzbzzz
 * @Date ：Created in 17:13 2021/3/2
 * @Description：_____
 * @Modified By：
 * @Version: X.X
 */
@Component
public class A {
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public B getB() {
		return b;
	}

	public void setB(B b) {
		this.b = b;
	}

	private String name;
	@Autowired
	private B b;
}
